const getdrugsrecords = require("../../sql/drugsrecords");
const sql = require('../../sql/mysql');
const jwt = require("jsonwebtoken");

module.exports = (req,res)=>{
   sql.get(getdrugsrecords,req.fields).then((list)=>{
    res.send({
        code:0,
        msg:"获取成功",
        list,
    })
   })
}